package com.pipi.fanglan.cookie;

import com.pipi.fanglan.model.MyCookieStore;

import java.util.List;

/**
 * Created by pipi on 2017/7/16.
 */
public interface CookieRepository {
    List<MyCookieStore> findAll();

    MyCookieStore save(MyCookieStore cookieStore);

    MyCookieStore findMyCookieStore(String userName);

    MyCookieStore findActive();

    void deleteCookieStore(String userName);
}
